<!--
  功能：页头
  作者：Maoxiangdong
  邮箱：862755519@qq.com
  时间：2023年05月29日 10:05:06
-->
<template>
  <div class="page-title-container">
    <div class="page-title-container-title">{{ title }}</div>
    <div class="page-title-container-subTitle">{{ subTitle }}</div>
  </div>
</template>

<script setup>
const props = defineProps({
  title: {
    type: String,
    default: '页面标题'
  },
  subTitle: {
    type: String,
    default: '页面标题描述信息'
  }
})
</script>

<style scoped lang="scss">
.page-title-container {
  background-color: #fff;
  box-shadow: 0 0 6px 0 rgba(51, 51, 51, 0.08);
  border-radius: 4px;
  flex-direction: column-reverse;
  justify-content: space-between;
  padding: 15px;
  &-title {
    color: #17233d;
    font-size: 22px;
  }
  &-subTitle {
    color: #515a6e;
    font-size: 14px;
    margin-top: 10px;
  }
}
</style>